package com.ltkj.baseplatform.mapper;

import java.util.List;
import com.ltkj.baseplatform.domain.SerSuggestion;
import com.ltkj.baseplatform.domain.vo.SerSuggestionVO;

/**
 * 投诉建议Mapper接口
 * 
 * @author chenzeen
 * @date 2023-08-29
 */
public interface SerSuggestionMapper 
{
    /**
     * 查询投诉建议
     * 
     * @param id 投诉建议主键
     * @return 投诉建议
     */
    public SerSuggestion selectSerSuggestionById(Long id);
    public SerSuggestionVO selectSerSuggestionVOById(Long id);

    /**
     * 查询投诉建议列表
     * 
     * @param serSuggestion 投诉建议
     * @return 投诉建议集合
     */
    public List<SerSuggestion> selectSerSuggestionList(SerSuggestion serSuggestion);
    public List<SerSuggestionVO> selectSerSuggestionListVO(SerSuggestion serSuggestion);

    /**
     * 新增投诉建议
     * 
     * @param serSuggestion 投诉建议
     * @return 结果
     */
    public int insertSerSuggestion(SerSuggestion serSuggestion);

    /**
     * 修改投诉建议
     * 
     * @param serSuggestion 投诉建议
     * @return 结果
     */
    public int updateSerSuggestion(SerSuggestion serSuggestion);

    /**
     * 删除投诉建议
     * 
     * @param id 投诉建议主键
     * @return 结果
     */
    public int deleteSerSuggestionById(Long id);

    /**
     * 批量删除投诉建议
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSerSuggestionByIds(Long[] ids);
}
